package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author YuanYuan
 * @Date 2024/5/6
 * @Time 17:14
 */
@RestController
@RequestMapping("/art")
public class ArticleController {

    @RequestMapping("/hi")
    public String sayHi(){
        return "Hi,world!";
    }
}
